From: Jasper St. Pierre Date: Sun, 25 Mar 2012 14:49:38 +0000 (-0300) Subject: screenshot: Remove harmful empty finalizer X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6730 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=07e10fa03e01ae2f491743b1ba54b10ce4f5503e;p=gnome-shell.git screenshot: Remove harmful empty finalizer We really should be chaining up in the finalizer, but instead of leaving an empty finalize, remove it entirely. https://bugzilla.gnome.org/show_bug.cgi?id=672775 --- diff --git a/src/shell-screenshot.c b/src/shell-screenshot.c index 6295427eb..b0dcfa38c 100644 --- a/src/shell-screenshot.c +++ b/src/shell-screenshot.c @@ -41,18 +41,10 @@ typedef struct _screenshot_data { G_DEFINE_TYPE(ShellScreenshot, shell_screenshot, G_TYPE_OBJECT); -static void -shell_screenshot_finalize (GObject *gobject) -{ - -} - static void shell_screenshot_class_init (ShellScreenshotClass *screenshot_class) { - GObjectClass *gobject_class = G_OBJECT_CLASS (screenshot_class); - - gobject_class->finalize = shell_screenshot_finalize; + (void) screenshot_class; } static void